//express.js
/*
	1、设定express的工作参数
	2、调用route模块
	3、输出expess.application对象

*/
const express=require("express");
const bodyParser=require("body-parser");
var app=express();
app.use(express.static("./public"));
app.use(bodyParser.json());
app.use(bodyParser.urlencoded());


require("../routers/user.server.route.js")(app);


module.exports=app;